package com.example.hxds.bff.driver.feign;

import com.example.hxds.bff.driver.controller.form.StartCommentWorkflowForm;
import com.example.hxds.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * 代理工作流微服务
 */
@FeignClient(value = "hxds-workflow")
public interface WorkflowServiceApi {


    /**
     * 启动评论工作流
     * @param form
     * @return
     */
    @PostMapping("/comment/startCommentWorkflow")
    R startCommentWorkflow(StartCommentWorkflowForm form);
}
